package game.controller.unit
{
	import game.constants.ApplicationNotification;
	import game.constants.items.notif.ItemNotification;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	/**
	 * ...
	 * @author Thot
	 */
	
	public class InventoryTestCommand extends SimpleCommand
	{
		override public function execute( notification:INotification ):void
		{
			var pushItem:ItemNotification = new ItemNotification("hammer", 1, 100);
			var buyItem1:ItemNotification = new ItemNotification("hammer", 1, 80 );
			var buyItem2:ItemNotification = new ItemNotification("hammer", 1, 80 );
			var buyItem3:ItemNotification = new ItemNotification("hammer", 1, 120 );
			
			sendNotification( ApplicationNotification.BUY_ITEM, buyItem1 );
			sendNotification( ApplicationNotification.PUSH_ITEM, pushItem );
			sendNotification( ApplicationNotification.BUY_ITEM, buyItem2 );
			sendNotification( ApplicationNotification.BUY_ITEM, buyItem3 );
		}
	}
}